const routes = [
  {
    path: '/',
    component: '../layouts/index',
    routes: [
      {
        path: '/',
        component: './index',
      },
      {
        path: '/login',
        component: './login/loginPage',
      },
      {
        path: '/pages',
        component: '../layouts/authentication',
        routes: [
          { path: '/pages/system/user', component: 'system/user' },
          { path: '/pages/system/userAd', component: 'system/userAd' },
          { path: '/pages/system/userDetail', component: 'system/userDetail' },
          { path: '/pages/system/role', component: 'system/role' },
          { path: '/pages/system/job', component: 'system/job' },
          { path: '/pages/system/batchAdd', component: 'system/batchAdd' },
        ]
      }
    ],
  },
];

export default routes;
